<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\Route;

Route::rule("/listData",'index/index/getInfoList');
Route::rule("/getVideoList",'index/index/getVideoList');
Route::rule("/getTimeLine",'index/index/getTimeLineList');
Route::rule("/yiqing",'index/index/index');
Route::controller("/admin",'admin/index');
Route::controller("/index",'index/index');
Route::controller("/cityCount",'admin/cityCount');
Route::controller("/config",'admin/config');
Route::controller("/info",'admin/info');
Route::controller("/timeline",'admin/timeLine');
Route::controller("/video",'admin/video');
Route::controller("/advert",'admin/advert');
Route::controller("/adminuser",'admin/adminUser');
return [
    '__pattern__' => [
        'name' => '\w+',
    ],
    '[hello]'     => [
        ':id'   => ['index/hello', ['method' => 'get'], ['id' => '\d+']],
        ':name' => ['index/hello', ['method' => 'post']],
    ],

];
